getResult

abstract fun getResult(scope: String): T

Provides a result. Note non-null return value, so implementations should have a fallback mechanism.

See the translation wiki page for an overview of how scopes work. Append args to the scope with ? like mod_id.config_id.settingName?arg?arg2

Return

T result based on scope provided. In general the result should be consistent for like-keys. If keyA.equals(keyB), the result should either be the same or have a consistent source (derive from the same supplier, function, etc.)

Author

fzzyhmstrs

Since

0.5.3

Parameters

scope

String scope to provide a result based on.